import { lazy } from 'react'
import {TikTokOutlined} from "@ant-design/icons";
import { IMenuRoutes } from '../element.tsx'
const Tiktok = lazy(() => import('@/views/Tiktok/index.tsx'))
const Expert = lazy(() => import('@/views/Tiktok/Expert.tsx'))
const tiktok: IMenuRoutes = {
    path: 'tiktok',
    element: <Tiktok />,
    key: '/tiktok',
    icon: <TikTokOutlined />,
    label: '抖音',
    children: [
        {
            path: 'expert',
            element: <Expert />,
            key: '/tiktok/expert',
            label: '达人管理'
        }
    ]
}

export default tiktok